﻿using SymulatorEthernetWPF.SimObjects.Devices;
using SymulatorEthernetWPF.SimObjects.Layers.Physical;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Threading;

namespace SymulatorEthernetWPF.Shared
{
    class DelayTimer: DispatcherTimer
    {

        public NetworkInterface networkInterface;
        public Signal signal;

        public DelayTimer(double interval, NetworkInterface networkInterface, Signal signal):base()
        {
            this.Interval = TimeSpan.FromMilliseconds(interval);
            this.networkInterface = networkInterface;
            this.signal = signal;            
        }
    }
}
